﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

[DataContract]
public class Req
{
    string itemName;


    int quantity;



    public static Req Make(string itemName, int quantity)
    {
        Req r = new Req();
        r.itemName = itemName;
        r.quantity = quantity;
        return r;
    }

    [DataMember]
    public string ItemName
    {
        get { return itemName; }
        set { itemName = value; }
    }

    [DataMember]
    public int Quantity
    {
        get { return quantity; }
        set { quantity = value; }
    }

}